package com.gdut.eduservice.client;

import com.gdut.commonutils.R;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author Drifiter
 * @create 2021-08-27 14:26
 */
@Component
public class VodFileDegradeFeignClient implements VodClient {

//    出错之后会执行
    @Override
    public R removeAlyVideo(String id) {
        return R.error().message("删除视频失败了");
    }

    @Override
    public R deleteBatch(List<String> videoIdList) {
        return R.error().message("删除多个视频失败了");
    }
}
